class ApplicationController < ActionController::Base

  layout :layout_by_resource
  def layout_by_resource
    if devise_controller?
      "empty"
    else
      "application"
    end
  end  

  protect_from_forgery
  
  
end
